package com.fanyue.modules.face.support;

import cn.hutool.http.HttpRequest;

public class FaceInvokeUtils {

	public static String invokeGetHttp(String param) {
		String result = HttpRequest.get("http://127.0.0.1:9999")
			.form(param)
			.execute()
			.body();
		return result;
	}


	public static String invokePostHttp(String param) {
		String result = HttpRequest.post("http://127.0.0.1:9999")
			.body(param)
			.execute()
			.body();
		return result;
	}

}
